import request from '@/utils/request'
export function uploadFile(params) {
  return request({
    url:'file/uploadFile',
    method:'post',
    data:params,
   // header:{"content-type": 'application/x-www-form-unlencoded'}
  })
}

export function downloadFile(val) {
  var url = request.defaults.baseURL
  return url+'/file/downloadFile/'+val;
}



